/**
 * des: 登录中间件
 */

const { ErrorModel, loginFailure } = require("../model/resModel")
const verify = require('../utils/verify')
const { AUTORIZATION } = require('../conf/db')

const { userInfo } = require('../controller/users')

module.exports = async (ctx, next) => {
    // 获取jwt

    const token = ctx.header.Authorization
    if (token !== null && token) {
        try {

        } catch {

        }
    }
}